import request from "../utils/request.js"

//修改用户名
export function ChangeUserInfo(data) {
	return request({
		url: "/User/UserInfo",
		method: 'post',
		data
	})
}
//密码信息
export function UserSet() {
	return request({
		url: "/User/UserPassPay"
	})
}

//用户协议
export function xieyi() {
	return request({
		url: "/index/xieyi"
	})
}

//修改支付密码
export function changePayPassword(data) {
	return request({
		url: "/User/UserPassPay",
		method: 'post',
		data
	})
}
//修改登录密码
export function changePassword(data) {
	return request({
		url: "/User/UserPass",
		method: 'post',
		data
	})
}


//我的团队
export function UserTeam() {
	return request({
		url: "/User/UserTeam"

	})
}

//我的团队
export function OrderSee(data) {
	return request({
		url: "/Order/OrderSee",
		data
	})
}

//用户互转
export function Transfer() {
	return request({
		url: "/User/UserTransfer"
	})
}

//验证用户（手机）
export function checkUser(data) {
	return request({
		url: "/User/checkUser",
		data
	})
}

//互转
export function UserTransfer(data) {
	return request({
		url: "/User/UserTransfer",
		method: 'post',
		data
	})
}

//银行卡
export function bankInfo() {
	return request({
		url: "/User/UserBank"
	})
}

//银行卡编辑新增
export function UserBank(data) {
	return request({
		url: "/User/UserBank",
		method: 'post',
		data
	})
}

//邀请码
export function Qrcode() {
	return request({
		url: "/User/UserQrcode"
	})
}

//购物车
export function CartList() {
	return request({
		url: "/Order/UserCart"
	})
}

//更新购物车
export function updateCart(data) {
	return request({
		url: "/Order/UpdateCart",
		method: 'post',
		data
	})
}
//在线留言
export function FeedbackAdd(data) {
	return request({
		url: "/User/FeedbackAdd",
		method: 'post',
		data
	})
}
//在线留言记录
export function Feedback(data) {
	return request({
		url: "/User/Feedback",
		data
	})
}

//联系客服
export function kefu(data) {
	return request({
		url: "/User/kefu",
		method: 'post',
		data
	})
}
//在线留言记录
export function FeedbackDetail(data) {
	return request({
		url: "/User/FeedbackDetail",
		data
	})
}

//在线客服(删除)
export function deleteFeed(data) {
	return request({
		url: "/User/FeedbackDel",
		method: 'post',
		data
	})
}

//会员（展示）
export function BuyVip(data) {
	return request({
		url: "/Order/BuyVip",
		data
	})
}

//会员（购买）
export function SureBuy(data) {
	return request({
		url: "/Order/SureBuy",
		method: 'post',
		data
	})
}
